package com.efast.dmom.mgmt.service.les.impl;
import java.util.List;

import com.efast.dmom.mgmt.bean.les.PdaTmMmDeliverySheetPartBean;
import com.efast.dmom.mgmt.dao.les.TmMmDeliverySheetPartDao;
import com.efast.dmom.mgmt.entity.les.TmMmDeliverySheetPart;
import com.efast.dmom.mgmt.service.les.TmMmDeliverySheetPartService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TmMmDeliverySheetPartServiceImpl implements TmMmDeliverySheetPartService{
    @Autowired
    private TmMmDeliverySheetPartDao tmMmDeliverySheetPartDao;
    @Override
    public long getTmMmDeliverySheetPartRowCount(Assist assist){
        return tmMmDeliverySheetPartDao.getTmMmDeliverySheetPartRowCount(assist);
    }
    @Override
    public List<TmMmDeliverySheetPart> selectTmMmDeliverySheetPart(Assist assist){
        return tmMmDeliverySheetPartDao.selectTmMmDeliverySheetPart(assist);
    }
    @Override
    public TmMmDeliverySheetPart selectTmMmDeliverySheetPartByObj(TmMmDeliverySheetPart obj){
        return tmMmDeliverySheetPartDao.selectTmMmDeliverySheetPartByObj(obj);
    }
    @Override
    public TmMmDeliverySheetPart selectTmMmDeliverySheetPartById(Integer id){
        return tmMmDeliverySheetPartDao.selectTmMmDeliverySheetPartById(id);
    }
    @Override
    public int insertTmMmDeliverySheetPart(TmMmDeliverySheetPart value){
        return tmMmDeliverySheetPartDao.insertTmMmDeliverySheetPart(value);
    }
    @Override
    public int insertNonEmptyTmMmDeliverySheetPart(TmMmDeliverySheetPart value){
        return tmMmDeliverySheetPartDao.insertNonEmptyTmMmDeliverySheetPart(value);
    }
    @Override
    public int insertTmMmDeliverySheetPartByBatch(List<TmMmDeliverySheetPart> value){
        return tmMmDeliverySheetPartDao.insertTmMmDeliverySheetPartByBatch(value);
    }
    @Override
    public int deleteTmMmDeliverySheetPartById(Integer id){
        return tmMmDeliverySheetPartDao.deleteTmMmDeliverySheetPartById(id);
    }
    @Override
    public int deleteTmMmDeliverySheetPart(Assist assist){
        return tmMmDeliverySheetPartDao.deleteTmMmDeliverySheetPart(assist);
    }
    @Override
    public int updateTmMmDeliverySheetPartById(TmMmDeliverySheetPart enti){
        return tmMmDeliverySheetPartDao.updateTmMmDeliverySheetPartById(enti);
    }
    @Override
    public int updateTmMmDeliverySheetPart(TmMmDeliverySheetPart value, Assist assist){
        return tmMmDeliverySheetPartDao.updateTmMmDeliverySheetPart(value,assist);
    }
    @Override
    public int updateNonEmptyTmMmDeliverySheetPartById(TmMmDeliverySheetPart enti){
        return tmMmDeliverySheetPartDao.updateNonEmptyTmMmDeliverySheetPartById(enti);
    }
    @Override
    public int updateNonEmptyTmMmDeliverySheetPart(TmMmDeliverySheetPart value, Assist assist){
        return tmMmDeliverySheetPartDao.updateNonEmptyTmMmDeliverySheetPart(value,assist);
    }
    @Override
    public List<PdaTmMmDeliverySheetPartBean> queryTmMmDeliverySheetPartBySheetNo(String sheetNo) {
        return tmMmDeliverySheetPartDao.queryTmMmDeliverySheetPartBySheetNo(sheetNo);
    }
    public TmMmDeliverySheetPartDao getTmMmDeliverySheetPartDao() {
        return this.tmMmDeliverySheetPartDao;
    }

    public void setTmMmDeliverySheetPartDao(TmMmDeliverySheetPartDao tmMmDeliverySheetPartDao) {
        this.tmMmDeliverySheetPartDao = tmMmDeliverySheetPartDao;
    }

}